﻿<TimePicker TValue="DateTime?" Value="_value" OnChange="OnChange" />

@code
{
    private DateTime _value = DateTime.Now;

    private void OnChange(DateTimeChangedEventArgs args)
    {
        _value = args.Date;
    }
}